#pragma once
#include "catcake.h"
#include <list>
#include <map>
#include <deque>
//#include "wild_mot.h"
#include "wild_skeleton.h"

class WildMot;
class WildSkeleton;
class wildMdl;

class WildModel
{
	

public:
	typedef std::list<std::string> MODEL_NAME_LIST;

	WildModel(const char* res_name, MODEL_NAME_LIST& namelist,ckVec* pos, WildBone* boneRoot);
	
	virtual ~WildModel(void);
	void setPosition(r32 x,r32 y, r32 z);
	void Scale( r32 r );
	void RotateZ( r32 angle );
	void RotateY( r32 angle );
	void DeleteModel();

	void OnUpdate();

	void Start();
protected:
	
	ckMat m_modelLocal;
	

	
	wildMdl* m_model;

	//std::map<std::string, WildMot*> m_motions;
	
	
	WildBone* m_boneRoot;

	std::string m_sTitle;

	bool m_bStarted;
};
